package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;
import org.apache.ibatis.annotations.Param;

/**
 * @Description UserService
 * @Author apeng
 * @Date 2024-10-24
 */
public interface UserService {
    ResponseResult<PageResponse<UserVo>> findUserVoPage(UserDto userDto, Integer pageNum, Integer pageSize);

    ResponseResult insertUser(UserDto userDto);

    ResponseResult updateUser(UserDto userDto);

    ResponseResult<UserVo> findUserVoList(UserDto userDto);

    void updateUserStatus( Long id, String status);

    ResponseResult deleteUser(Long userId);

    ResponseResult resetPassword(Long userId);
}
